package com.kjc.demo.basic.designermodel.observer;

public class PullObserverTest {
	public static void main(String[] args) {
		ConceretePullSubject sub = new ConceretePullSubject();
		PullObserver o1 = new ConceretePullObserver();
		PullObserver o2 = new ConceretePullObserver();
		PullObserver o3 = new ConceretePullObserver();
		sub.add(o1);
		sub.add(o2);
		sub.add(o3);
		sub.change("hello everybody");
	}
}
